package com.xwwx.common;


/*****************************
 * Created by Eclipse.
 * User: 李伟
 * Date: 2007-03-7
 * 功能: 常量
 ****************************/
public class Constant {
	
	public static final String DEFAULT_PASSWORD= "8888";//默认新增后台用户密码
	public static final String DEFAULT_ZD_PASSWORD= "1111";//默认新增终端用户密码
	
	public static final long logintime = 1;//超过3分钟 没有刷新登录时间，说明非法退出
	public static String PROCESS_ALL_START = "231";		  //处理开始 0全部
	public static String PROCESS_L_START = "232";		  //处理开始 1离职
	public static String PROCESS_Z_START = "233";		  //处理开始 2在职
	
	public static final String USER_SESSION_KEY = "user_session"; //用户session
	public static final String UNLOGON_JSP = "/jsp/common/unlogin.jsp";//非法登陆转向页
	public static final int ADMIN_DEFAULT_PAGE_SIZE = 12;//后台默认每页显示
	public static final String LIST_ASC = "asc";//按递增顺序列出数据
	public static final String LIST_DESC = "desc";//按递减顺序列出数据
	
	public static final String ARRAY_1 = "~";//根据~产生行数组
	public static final String ARRAY_2 = "`";//根据`产生列数组	
	//picklist
	public static final String PICKLIST_FJLX = "fjlx";
	public static final String PICKLIST_THLX = "thlx";
	public static final String PICKLIST_LYLX = "lylx";
	public static final String PICKLIST_WTLX = "wtlx";
	public static final String PICKLIST_HJLX = "hjlx";	
	public static final String PICKLIST_ZRLX = "zrlx";
	public static final String PICKLIST_XBLX = "xblx";
	public static final String PICKLIST_DJLX = "djlx";	
	public static final String PICKLIST_QULX = "qylx";
	public static final String PICKLIST_GDLX = "gdlx";
	public static final String PICKLIST_YJLX = "yjlx";	
	//picklistex
	public static final String PICKLISTEX_ZRLX = "zrlx";	
	public static final String PICKLISTEX_WTLX = "wtlx";	
	
	//系统表
	public static interface TableName{
		public static final String T_COMM_USER = "t_comm_user";  						//权限 用户表
		public static final String T_COMM_DEPT = "t_comm_dept";							//权限 部门表
		public static final String T_COMM_MODULE = "t_comm_module";						//权限 菜单表
		public static final String T_COMM_GROUPMODULE = "t_comm_groupmodule";           //权限 组拥有的模块表
		public static final String T_COMM_USERGROUP = "t_comm_usergroup";				//权限 用户组表
		public static final String T_COMM_USERINGROUP = "t_comm_useringroup";           //权限 组包含的用户表
		public static final String T_COMM_GROUPDEPT = "t_comm_groupdept";           	//权限 组包含的部门表
		public static final String T_COMM_PICKID = "t_comm_pickid";						//权限 列表条目主表
		public static final String T_COMM_PICKLIST = "t_comm_picklist";					//权限 列表条目细表
		public static final String T_COMM_LOG = "t_comm_log";							//权限 日志表
		
		public static final String T_APP_EMPLOYEE = "t_app_employe";					//雇员基本表
		public static final String T_APP_EMPLOYEEX = "t_app_employeex";					//雇员表考勤
		public static final String T_APP_EMPLOYEESTATUS = "t_app_injoblist";			//雇员履历表
		public static final String T_APP_EMPLOYEEROOMCOST = "t_app_roomcost";			//雇员住宿
		public static final String T_COMM_JOB = "t_comm_job";							//岗位
		public static final String T_APP_CHECKEXCEL = "t_app_checkexcel";				//考勤表
		public static final String T_WORK_FLOW = "t_work_flow";							//工作流
		public static final String T_FLOW_NODETREE = "t_flow_nodetree";					//节点
		
		public static final String T_APP_REPL = "t_app_repl";							//替班
		public static final String T_APP_EVERYDAY = "t_app_everyday";					//奖惩
		public static final String T_COMM_PARAMLIST = "t_comm_paramlist";				//系统参数
		public static final String T_COMM_MONTH = "t_comm_month";						//系统日期表
		public static final String T_APP_HOLIDAYS = "t_app_holidays";					//节假日
		public static final String T_APP_EMWAGE = "t_app_emwage";						//工资
		
	}
	//系统视图
	public static interface ViewName{
		public static final String V_COMM_USERS_ALL_MODULE = "v_comm_users_all_module"; //权限 用户对应的菜单试图
		public static final String V_APP_EMPLOYEE = "v_app_employe";					//雇员视图
		public static final String V_APP_JOBLIST = "v_app_jobList";						//雇员履历
		public static final String V_APP_WORKDAY = "v_app_workday";						//考勤处理结果
		public static final String V_APP_EMWAGE = "v_app_emwage";						//工资视图
		public static final String V_APP_INJOBLIST = "v_app_injobList";					//雇员履历表
		public static final String V_COMM_DETREE = "v_comm_detree";						//部门雇员树表
		public static final String V_COMM_DETREE2 = "v_comm_detree2";					//部门雇员树表2
		public static final String V_APP_EVERYDAY = "v_app_everyday";					//奖惩
	}	
	//系统存储过程
	public static interface ProcedureName{
		public static final String MANPROC_SELECT = "manproc_select";					//需处理记录
	}
}